package org.spring.springboot.app.set.agenttype.dao;

import org.apache.ibatis.annotations.Param;
import org.spring.springboot.app.set.agenttype.domain.po.AgentTypePO;
import org.spring.springboot.app.set.agenttype.domain.vo.AgentTypeVO;
import org.spring.springboot.app.sys.dict.domain.po.SysDictPO;

import java.util.List;

public interface AgentTypeDao {
    int deleteByPrimaryKey(String id);

    int insert(AgentTypePO record);

    int insertSelective(AgentTypeVO record);

    AgentTypePO selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(AgentTypePO record);

    int updateByPrimaryKey(AgentTypePO record);

    List<AgentTypePO> findPage(@Param("pageNum") int pageNum, @Param("pageSize") int pageSize);

    int findMaxSort();

    List<AgentTypePO> selectAllAgentType();
}